package org.jeecg.modules.demo.spcFlow.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: spc_flow_master
 * @Author: jeecg-boot
 * @Date:   2023-12-14
 * @Version: V1.0
 */
@ApiModel(value="spc_flow_master对象", description="spc_flow_master")
@Data
@TableName("spc_flow_master")
public class SpcFlowMaster implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**流程名称*/
	@Excel(name = "流程名称", width = 15)
    @ApiModelProperty(value = "流程名称")
    private String flowName;
	/**业务类型*/
	@Excel(name = "业务类型", width = 15)
    @Dict(dicCode="flow_type")
    @ApiModelProperty(value = "业务类型")
    private String flowType;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    private String usestate;
    /**部门编码*/
    @ApiModelProperty(value = "部门编码")
    private String sysOrgCode;
}
